﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SConditionCopyChannel extends Object
    {
        public var channel:SCopyChannel;
        public var condition:int;
        public var value:int;
        public var openDt:Date;

        public function SConditionCopyChannel()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.channel.__write(param1);
            param1.writeInt(this.condition);
            param1.writeInt(this.value);
            param1.writeDate(this.openDt);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.channel = new SCopyChannel();
            this.channel.__read(param1);
            this.condition = param1.readInt();
            this.value = param1.readInt();
            this.openDt = param1.readDate();
            return;
        }// end function

    }
}
